package com.oromwin.repos.socket.request;

import java.io.DataInputStream;
import java.io.DataOutputStream;

import com.oromwin.repos.common.ReposException;
import com.oromwin.repos.server.LockObject;
import com.oromwin.repos.socket.response.Response;

public interface Request {
    public void send(DataOutputStream dos) throws ReposException;
    public void receive(DataInputStream dis, LockObject lockObject) throws ReposException;
    public Response run();
    public String id();
}
